<?php
return	array(
    'system'=>array('name'=>'系统','child'=>array(
        array('name' => '设置','child' => array(
            array('name'=>'商城设置','act'=>'index','op'=>'System'),
//            array('name'=>'清除缓存','act'=>'cleanCache','op'=>'System'),
        )),
        array('name' => '会员','child'=>array(
            array('name'=>'会员列表','act'=>'index','op'=>'User'),
            array('name'=>'消费记录','act'=>'recharge','op'=>'User'),
            array('name'=>'提现记录','act'=>'withdrawals','op'=>'User'),
            array('name'=>'会员账户明细','act'=>'banks','op'=>'User'),
            array('name'=>'汇款记录','act'=>'huika','op'=>'User'),
        )),
        array('name' => '代理','child'=>array(
            array('name' => '代理列表', 'act'=>'index', 'op'=>'Agents'),
            array('name' => '提现记录', 'act'=>'getCash', 'op'=>'Agents'),
            array('name' => '汇款记录', 'act'=>'remittance', 'op'=>'Agents'),
        )),
        array('name' => '商户','child'=>array(
            array('name' => '商户列表', 'act'=>'shopList', 'op'=>'Shop'),
            array('name' => '商户分类', 'act'=>'shoptype', 'op'=>'shop'),
            array('name' => '提现记录', 'act'=>'cashList', 'op'=>'Shop'),
            // array('name' => '添加商户', 'act'=>'shopAdd', 'op'=>'Shop'),
            array('name' => '商户审核', 'act'=>'shopAudit', 'op'=>'Shop'),
        )),
        array('name' => '广告','child' => array(
            array('name'=>'广告列表','act'=>'adList','op'=>'Ad'),//op控制器 adList方法
        )),
        array('name' => '文章','child'=>array(
            array('name' => '文章列表', 'act'=>'articlelist', 'op'=>'Article'),
            array('name' => '文章分类', 'act'=>'catList', 'op'=>'Article'),
        )),
        array('name' => '权限','child'=>array(
            array('name' => '管理员列表', 'act'=>'index', 'op'=>'Admin'),
            array('name' => '角色管理', 'act'=>'role', 'op'=>'Admin'),
            array('name'=>'权限资源列表','act'=>'right_list','op'=>'System'),
            array('name'=>'代理权限资源','act'=>'agent_right','op'=>'System'),
            array('name' => '管理员日志', 'act'=>'log', 'op'=>'Admin'),
        )),
//
//        array('name' => '数据','child'=>array(
//            array('name' => '数据备份', 'act'=>'index', 'op'=>'Tools'),
//            array('name' => '数据还原', 'act'=>'restore', 'op'=>'Tools'),
//            //array('name' => 'ecshop数据导入', 'act'=>'ecshop', 'op'=>'Tools'),
//            //array('name' => '淘宝csv导入', 'act'=>'taobao', 'op'=>'Tools'),
//            //array('name' => 'SQL查询', 'act'=>'log', 'op'=>'Admin'),
//        ))
    )),

    'shop'=>array('name'=>'商城','child'=>array(
        array('name' => '商品','child'=>array(
            array('name' => '商品列表', 'act'=>'goodsList', 'op'=>'Goods'),
            array('name' => '商品审核', 'act'=>'goodsAudit', 'op'=>'Goods'),
        )),
        array('name' => '订单','child'=>array(
            array('name' => '订单列表', 'act'=>'orderList', 'op'=>'Order'),
        )),
        array('name' => '流水','child'=>array(
            array('name' => '流水列表', 'act'=>'moneyList', 'op'=>'Money_water'),
        )),
//        array('name' => '促销','child' => array(
//            array('name' => '抢购管理', 'act'=>'flash_sale', 'op'=>'Promotion'),
//            array('name' => '团购管理', 'act'=>'group_buy_list', 'op'=>'Promotion'),
//            array('name' => '优惠促销', 'act'=>'prom_goods_list', 'op'=>'Promotion'),
//            array('name' => '订单促销', 'act'=>'prom_order_list', 'op'=>'Promotion'),
//            array('name' => '优惠券','act'=>'index', 'op'=>'Coupon'),
//            array('name' => '预售管理','act'=>'pre_sell_list', 'op'=>'Promotion'),
//            array('name' => '拼团管理','act'=>'index', 'op'=>'Team'),
//        )),
//
//        array('name' => '分销','child' => array(
//            array('name' => '分销商品列表', 'act'=>'goods_list', 'op'=>'Distribut'),
//            array('name' => '分销商列表', 'act'=>'distributor_list', 'op'=>'Distribut'),
//            array('name' => '分销关系', 'act'=>'tree', 'op'=>'Distribut'),
//            array('name' => '分销商等级', 'act'=>'grade_list', 'op'=>'Distribut'),
//            array('name' => '分成日志', 'act'=>'rebate_log', 'op'=>'Distribut'),
//        )),

        array('name' => '统计','child' => array(
            array('name' => '销售概况', 'act'=>'index', 'op'=>'Report'),
            array('name' => '销售排行', 'act'=>'saleTop', 'op'=>'Report'),
            array('name' => '会员排行', 'act'=>'userTop', 'op'=>'Report'),
            array('name' => '销售明细', 'act'=>'saleList', 'op'=>'Report'),
            array('name' => '会员统计', 'act'=>'user', 'op'=>'Report'),
            array('name' => '运营概览', 'act'=>'finance', 'op'=>'Report'),
            array('name' => '平台支出记录','act'=>'expense_log','op'=>'Report'),
        )),
    )),

);